home *** CD-ROM | disk | FTP | other *** search
- on getVolume
- splitPosn = offset("\", the moviePath)
- volumeName = (the moviePath).char[1..splitPosn]
- return volumeName
- end
-
- on fileExists path_file
- fileTest = new(xtra("fileio"))
- openfile(fileTest, path_file, 1)
- fileResult = status(fileTest)
- closeFile(fileTest)
- if fileResult = 0 then
- return 1
- else
- return 0
- end if
- end
-